package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户动态点赞记录表
 * </p>
 *
 * @author Shane
 * @since 2020-03-28
 */
@TableName("user_dynamic_like_log")
public class UserDynamicLikeLog implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 动态id
	 */
	@TableField(value="dynamic_id")
	private Integer dynamicId;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 点赞者id
	 */
	@TableField(value="like_user_id")
	private Integer likeUserId;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	public UserDynamicLikeLog() {
	}

	public UserDynamicLikeLog(Integer dynamicId, Integer userId, Integer likeUserId) {
		this.dynamicId = dynamicId;
		this.userId = userId;
		this.likeUserId = likeUserId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDynamicId() {
		return dynamicId;
	}

	public void setDynamicId(Integer dynamicId) {
		this.dynamicId = dynamicId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getLikeUserId() {
		return likeUserId;
	}

	public void setLikeUserId(Integer likeUserId) {
		this.likeUserId = likeUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
